<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label for="c-type" class="control-label col-xs-12 col-sm-2">请选择人员:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-type" data-rule="required" class="form-control selectpicker" name="row[adminid]">
                {foreach name="adminlist" item="vo"}
                <option value="{$key}">{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    {foreach name="sublist" item="vo"}
    <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2">客户名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control"   value="{$vo}" readonly />
        </div>
    </div>
    {/foreach}
    <div class="col-xs-12 col-sm-8">
        <input type="hidden" class="form-control" name="row[ids]"  value="{$row.ids|htmlentities}" data-rule="required" />
    </div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
